<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%--
  Created by IntelliJ IDEA.
  User: Ahuanlien
  Date: 2018/6/8
  Time: 12:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <%@include file="/static/common/commom.jsp" %>
    <script src="/static/js/company.js"></script>
</head>
<body>
<table id="company_dataGrid"></table>
<!--工具栏-->
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>

    <a href="#" id="state_btn" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
       data-cmd="changState">解除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>

    <input class="easyui-textbox" id="keyword" name="keyword" prompt="请输入机构代号或名称">
    <tr>
        <td>合作状态:</td>
        <td><input id="state" name="state" class="easyui-combobox"
                   data-options='{
                           data:[
                           {value:"0",text:"解除"},
                           {value:"1",text:"合作"}
                           ],
                           textField:"text",valueField:"value",panelHeight:"auto"
                           }'></td>
    </tr>

    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchForm">查询</a>
</div>

<div id="btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<div id="company_dialog">
    <form id="company_form" method="post">
        <input id="companyId" type="hidden" name="id">
        <table align="center">
            <tr>
                <td>机构代号:</td>
                <td><input name="sn" class="easyui-textbox" ></td>
            </tr>
            <tr>
                <td>机构名称:</td>
                <td><input name="name" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>法人代表:</td>
                <td><input name="director" class="easyui-textbox" required="true"></td>
            </tr>
            <tr>
                <td>法人身份证:</td>
                <td><input name="identity" class="easyui-textbox" required="true"></td>
            </tr>
            <tr>
                <td>联系电话:</td>
                <td><input name="tel" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>联系地址:</td>
                <td><input name="address" class="easyui-textbox"></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>